package com.zll.sentinel;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.zll.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class OrderBlockHandler {

    public static User orderBlockHandler(@PathVariable("id")Long id, BlockException e) {
        return new User(-1L,"你看你哪有好人样啊","整这死出！");
    }
}
